#region Header
//=============================================================================
//                          GShield (Game Shield)
//=============================================================================
//
// Original Programmer: Shawn Jackson
// Company: WaveTech Digital Technologies, Inc. (http://www.wtdt.com)
// Copyright: (c) 2006 WaveTech Digital Technologies, Inc. All Rights Reserved.
// Assembly: Library
// Code File Name: GameProcessModule.cs
// Code File Date: 12/8/2006
//
// Code File Info: Game Process Module Object Definiation
//=============================================================================
/*
 * UPDATES
 * -------
 *      ShawnJ 5/4/2007 (0.9.0.x): Refactoring for OSS.
 *			ShawnJ 8/7/2007 (0.9.5.x): Code Commenting.
 */
#endregion Header

#region License
/*
  GShield - Game Shield
  Copyright (C) 2006-2007 WaveTech Digital Technologies, Inc.
                                http://www.wtdt.com

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 2 of the License, or
  (at your option) any later version.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
*/
#endregion License

#region Includes
using System;
#endregion Includes

namespace WaveTech.GShield.Library.Objects
{
  /// <summary>
  /// Class defining a Game Process Module object
  /// </summary>
	[Serializable]
  public class GameProcessModule
	{
		#region Private Members
		private string m_name;
		private int? m_memorySize;
		private string m_baseAddress;
		private string m_fileName;
		#endregion Private Members

		#region Public Properties
		/// <summary>
		/// Name of the process
		/// </summary>
		public string Name
    {
			get { return m_name; }
			set { m_name = value; }
    }

		/// <summary>
		/// Total amount of memory used by the process
		/// </summary>
    public int? MemorySize
    {
			get { return m_memorySize; }
			set { m_memorySize = value; }
    }

		/// <summary>
		/// Base memory address this process modules was loaded into
		/// </summary>
    public string BaseAddress
    {
			get { return m_baseAddress; }
			set { m_baseAddress = value; }
    }

		/// <summary>
		/// Full path to the location where this module is stored
		/// </summary>
    public string FileName
    {
			get { return m_fileName; }
			set { m_fileName = value; }
    }
    #endregion Public Properties
  }
}